package com.xinggq.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * 认证配置属性类
 *
 * @author xinggq
 * @since 2023-10-20
 */
@Data
@Component
@ConfigurationProperties(prefix = "gateway.auth")
public class AuthProperties {
    
    /**
     * 不需要令牌验证的URL列表
     */
    private List<String> ignoreUrls = new ArrayList<>();
}